#include <unistd.h>
#include <stdlib.h>

int main(int argc, char* argv[])
{
    int* a = NULL;
    for (;;) {
        a = malloc(sizeof(int));
        *a = 0;
        sleep(1);
    }

    return *a;
}